<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>

<title>JUnitCreator (randoop 4.1.0 API)</title>

<link rel="stylesheet" type="text/css" href="../../javadocstyle.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="JUnitCreator (randoop 4.1.0 API)";
        }
    }
    catch(err) {
    }
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":9,"i10":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../randoop/output/JavaFileWriter.html" title="class in randoop.output"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../randoop/output/MethodTypeNameSimplifyVisitor.html" title="class in randoop.output"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?randoop/output/JUnitCreator.html" target="_top">Frames</a></li>
<li><a href="JUnitCreator.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">randoop.output</div>
<h2 title="Class JUnitCreator" class="title">Class JUnitCreator</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>randoop.output.JUnitCreator</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">JUnitCreator</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Creates Java source as <code>String</code> for a suite of JUnit4 tests.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#AFTER_ALL">AFTER_ALL</a></span></code>
<div class="block">The JUnit annotation for the AfterAll option</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#AFTER_ALL_METHOD">AFTER_ALL_METHOD</a></span></code>
<div class="block">The method name for the AfterAll option</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#AFTER_EACH">AFTER_EACH</a></span></code>
<div class="block">The JUnit annotation for the AfterEach option</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#AFTER_EACH_METHOD">AFTER_EACH_METHOD</a></span></code>
<div class="block">The method name for the AfterEach option</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private com.github.javaparser.ast.stmt.BlockStmt</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#afterAllBody">afterAllBody</a></span></code>
<div class="block">The Java text for AfterAll method of generated test class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private com.github.javaparser.ast.stmt.BlockStmt</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#afterEachBody">afterEachBody</a></span></code>
<div class="block">The Java text for AfterEach method of generated test class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#BEFORE_ALL">BEFORE_ALL</a></span></code>
<div class="block">The JUnit annotation for the BeforeAll option</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#BEFORE_ALL_METHOD">BEFORE_ALL_METHOD</a></span></code>
<div class="block">The method name for the BeforeAll option</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#BEFORE_EACH">BEFORE_EACH</a></span></code>
<div class="block">The JUnit annotation for the BeforeEach option</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#BEFORE_EACH_METHOD">BEFORE_EACH_METHOD</a></span></code>
<div class="block">The method name for the BeforeEach option</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private com.github.javaparser.ast.stmt.BlockStmt</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#beforeAllBody">beforeAllBody</a></span></code>
<div class="block">The Java text for BeforeAll method of generated test class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private com.github.javaparser.ast.stmt.BlockStmt</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#beforeEachBody">beforeEachBody</a></span></code>
<div class="block">The Java text for BeforeEach method of generated test class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#classMethodCounts">classMethodCounts</a></span></code>
<div class="block">classMethodCounts maps test class names to the number of methods in each class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#packageName">packageName</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#JUnitCreator-java.lang.String-">JUnitCreator</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;packageName)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#addAfterAll-com.github.javaparser.ast.stmt.BlockStmt-">addAfterAll</a></span>(com.github.javaparser.ast.stmt.BlockStmt&nbsp;body)</code>
<div class="block">Add text for AfterClass-annotated method in each generated text class.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#addAfterEach-com.github.javaparser.ast.stmt.BlockStmt-">addAfterEach</a></span>(com.github.javaparser.ast.stmt.BlockStmt&nbsp;text)</code>
<div class="block">Add text for After-annotated method in each generated test class.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#addBeforeAll-com.github.javaparser.ast.stmt.BlockStmt-">addBeforeAll</a></span>(com.github.javaparser.ast.stmt.BlockStmt&nbsp;body)</code>
<div class="block">Add text for BeforeClass-annotated method in each generated test class.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#addBeforeEach-com.github.javaparser.ast.stmt.BlockStmt-">addBeforeEach</a></span>(com.github.javaparser.ast.stmt.BlockStmt&nbsp;body)</code>
<div class="block">Add text for Before-annotated method in each generated test class.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>private com.github.javaparser.ast.body.MethodDeclaration</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#createFixture-java.lang.String-int-java.lang.String-com.github.javaparser.ast.stmt.BlockStmt-">createFixture</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;annotation,
             int&nbsp;modifiers,
             <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;methodName,
             com.github.javaparser.ast.stmt.BlockStmt&nbsp;body)</code>
<div class="block">Creates the declaration of a single test fixture.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>com.github.javaparser.ast.CompilationUnit</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#createTestClass-java.lang.String-java.lang.String-java.util.List-">createTestClass</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;testClassName,
               <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;testMethodPrefix,
               <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../randoop/sequence/ExecutableSequence.html" title="class in randoop.sequence">ExecutableSequence</a>&gt;&nbsp;sequences)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#createTestDriver-java.lang.String-java.util.Set-">createTestDriver</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;driverName,
                <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;testClassNames)</code>
<div class="block">Create non-reflective test driver as a main class.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>private com.github.javaparser.ast.body.MethodDeclaration</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#createTestMethod-java.lang.String-java.lang.String-randoop.sequence.ExecutableSequence-">createTestMethod</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className,
                <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;methodName,
                <a href="../../randoop/sequence/ExecutableSequence.html" title="class in randoop.sequence">ExecutableSequence</a>&nbsp;testSequence)</code>
<div class="block">Creates a test method as a <code>String</code> for the sequence <code>testSequence</code>.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#createTestSuite-java.lang.String-java.util.Set-">createTestSuite</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;suiteClassName,
               <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;testClassNames)</code>
<div class="block">Creates the JUnit4 suite class for the tests in this object as a <code>String</code>.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static <a href="../../randoop/output/JUnitCreator.html" title="class in randoop.output">JUnitCreator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#getTestCreator-java.lang.String-com.github.javaparser.ast.stmt.BlockStmt-com.github.javaparser.ast.stmt.BlockStmt-com.github.javaparser.ast.stmt.BlockStmt-com.github.javaparser.ast.stmt.BlockStmt-">getTestCreator</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;junit_package_name,
              com.github.javaparser.ast.stmt.BlockStmt&nbsp;beforeAllBody,
              com.github.javaparser.ast.stmt.BlockStmt&nbsp;afterAllBody,
              com.github.javaparser.ast.stmt.BlockStmt&nbsp;beforeEachBody,
              com.github.javaparser.ast.stmt.BlockStmt&nbsp;afterEachBody)</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static com.github.javaparser.ast.stmt.BlockStmt</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../randoop/output/JUnitCreator.html#parseFixture-java.util.List-">parseFixture</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;bodyText)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="packageName">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>packageName</h4>
<pre>private final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> packageName</pre>
</li>
</ul>
<a name="classMethodCounts">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>classMethodCounts</h4>
<pre>private&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&gt; classMethodCounts</pre>
<div class="block">classMethodCounts maps test class names to the number of methods in each class. This is used to
 generate lists of method names for a class, since current convention is that a test method is
 named "test"+i for some integer i.</div>
</li>
</ul>
<a name="beforeAllBody">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>beforeAllBody</h4>
<pre>private&nbsp;com.github.javaparser.ast.stmt.BlockStmt beforeAllBody</pre>
<div class="block">The Java text for BeforeAll method of generated test class.</div>
</li>
</ul>
<a name="afterAllBody">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>afterAllBody</h4>
<pre>private&nbsp;com.github.javaparser.ast.stmt.BlockStmt afterAllBody</pre>
<div class="block">The Java text for AfterAll method of generated test class.</div>
</li>
</ul>
<a name="beforeEachBody">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>beforeEachBody</h4>
<pre>private&nbsp;com.github.javaparser.ast.stmt.BlockStmt beforeEachBody</pre>
<div class="block">The Java text for BeforeEach method of generated test class.</div>
</li>
</ul>
<a name="afterEachBody">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>afterEachBody</h4>
<pre>private&nbsp;com.github.javaparser.ast.stmt.BlockStmt afterEachBody</pre>
<div class="block">The Java text for AfterEach method of generated test class.</div>
</li>
</ul>
<a name="BEFORE_ALL">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BEFORE_ALL</h4>
<pre>private static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> BEFORE_ALL</pre>
<div class="block">The JUnit annotation for the BeforeAll option</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../constant-values.html#randoop.output.JUnitCreator.BEFORE_ALL">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="AFTER_ALL">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>AFTER_ALL</h4>
<pre>private static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> AFTER_ALL</pre>
<div class="block">The JUnit annotation for the AfterAll option</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../constant-values.html#randoop.output.JUnitCreator.AFTER_ALL">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="BEFORE_EACH">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BEFORE_EACH</h4>
<pre>private static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> BEFORE_EACH</pre>
<div class="block">The JUnit annotation for the BeforeEach option</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../constant-values.html#randoop.output.JUnitCreator.BEFORE_EACH">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="AFTER_EACH">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>AFTER_EACH</h4>
<pre>private static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> AFTER_EACH</pre>
<div class="block">The JUnit annotation for the AfterEach option</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../constant-values.html#randoop.output.JUnitCreator.AFTER_EACH">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="BEFORE_ALL_METHOD">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BEFORE_ALL_METHOD</h4>
<pre>private static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> BEFORE_ALL_METHOD</pre>
<div class="block">The method name for the BeforeAll option</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../constant-values.html#randoop.output.JUnitCreator.BEFORE_ALL_METHOD">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="AFTER_ALL_METHOD">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>AFTER_ALL_METHOD</h4>
<pre>private static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> AFTER_ALL_METHOD</pre>
<div class="block">The method name for the AfterAll option</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../constant-values.html#randoop.output.JUnitCreator.AFTER_ALL_METHOD">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="BEFORE_EACH_METHOD">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BEFORE_EACH_METHOD</h4>
<pre>private static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> BEFORE_EACH_METHOD</pre>
<div class="block">The method name for the BeforeEach option</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../constant-values.html#randoop.output.JUnitCreator.BEFORE_EACH_METHOD">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="AFTER_EACH_METHOD">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AFTER_EACH_METHOD</h4>
<pre>private static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> AFTER_EACH_METHOD</pre>
<div class="block">The method name for the AfterEach option</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../constant-values.html#randoop.output.JUnitCreator.AFTER_EACH_METHOD">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="JUnitCreator-java.lang.String-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>JUnitCreator</h4>
<pre>private&nbsp;JUnitCreator(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;packageName)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getTestCreator-java.lang.String-com.github.javaparser.ast.stmt.BlockStmt-com.github.javaparser.ast.stmt.BlockStmt-com.github.javaparser.ast.stmt.BlockStmt-com.github.javaparser.ast.stmt.BlockStmt-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTestCreator</h4>
<pre>public static&nbsp;<a href="../../randoop/output/JUnitCreator.html" title="class in randoop.output">JUnitCreator</a>&nbsp;getTestCreator(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;junit_package_name,
                                          com.github.javaparser.ast.stmt.BlockStmt&nbsp;beforeAllBody,
                                          com.github.javaparser.ast.stmt.BlockStmt&nbsp;afterAllBody,
                                          com.github.javaparser.ast.stmt.BlockStmt&nbsp;beforeEachBody,
                                          com.github.javaparser.ast.stmt.BlockStmt&nbsp;afterEachBody)</pre>
</li>
</ul>
<a name="addBeforeAll-com.github.javaparser.ast.stmt.BlockStmt-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addBeforeAll</h4>
<pre>private&nbsp;void&nbsp;addBeforeAll(com.github.javaparser.ast.stmt.BlockStmt&nbsp;body)</pre>
<div class="block">Add text for BeforeClass-annotated method in each generated test class.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>body</code> - the (Java) text for method</dd>
</dl>
</li>
</ul>
<a name="addAfterAll-com.github.javaparser.ast.stmt.BlockStmt-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAfterAll</h4>
<pre>private&nbsp;void&nbsp;addAfterAll(com.github.javaparser.ast.stmt.BlockStmt&nbsp;body)</pre>
<div class="block">Add text for AfterClass-annotated method in each generated text class.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>body</code> - the (Java) text for method</dd>
</dl>
</li>
</ul>
<a name="addBeforeEach-com.github.javaparser.ast.stmt.BlockStmt-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addBeforeEach</h4>
<pre>private&nbsp;void&nbsp;addBeforeEach(com.github.javaparser.ast.stmt.BlockStmt&nbsp;body)</pre>
<div class="block">Add text for Before-annotated method in each generated test class.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>body</code> - the (Java) text for method</dd>
</dl>
</li>
</ul>
<a name="addAfterEach-com.github.javaparser.ast.stmt.BlockStmt-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAfterEach</h4>
<pre>private&nbsp;void&nbsp;addAfterEach(com.github.javaparser.ast.stmt.BlockStmt&nbsp;text)</pre>
<div class="block">Add text for After-annotated method in each generated test class.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>text</code> - the (Java) text for method</dd>
</dl>
</li>
</ul>
<a name="createTestClass-java.lang.String-java.lang.String-java.util.List-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTestClass</h4>
<pre>public&nbsp;com.github.javaparser.ast.CompilationUnit&nbsp;createTestClass(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;testClassName,
                                                                 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;testMethodPrefix,
                                                                 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../randoop/sequence/ExecutableSequence.html" title="class in randoop.sequence">ExecutableSequence</a>&gt;&nbsp;sequences)</pre>
</li>
</ul>
<a name="createTestMethod-java.lang.String-java.lang.String-randoop.sequence.ExecutableSequence-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTestMethod</h4>
<pre>private&nbsp;com.github.javaparser.ast.body.MethodDeclaration&nbsp;createTestMethod(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className,
                                                                          <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;methodName,
                                                                          <a href="../../randoop/sequence/ExecutableSequence.html" title="class in randoop.sequence">ExecutableSequence</a>&nbsp;testSequence)</pre>
<div class="block">Creates a test method as a <code>String</code> for the sequence <code>testSequence</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>className</code> - the name of the test class</dd>
<dd><code>methodName</code> - the name of the test method</dd>
<dd><code>testSequence</code> - the <a href="../../randoop/sequence/ExecutableSequence.html" title="class in randoop.sequence"><code>ExecutableSequence</code></a> test sequence</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <code>String</code> for the test method</dd>
</dl>
</li>
</ul>
<a name="createFixture-java.lang.String-int-java.lang.String-com.github.javaparser.ast.stmt.BlockStmt-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFixture</h4>
<pre>private&nbsp;com.github.javaparser.ast.body.MethodDeclaration&nbsp;createFixture(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;annotation,
                                                                       int&nbsp;modifiers,
                                                                       <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;methodName,
                                                                       com.github.javaparser.ast.stmt.BlockStmt&nbsp;body)</pre>
<div class="block">Creates the declaration of a single test fixture.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>annotation</code> - the fixture annotation</dd>
<dd><code>modifiers</code> - the method modifiers for fixture declaration</dd>
<dd><code>methodName</code> - the name of the fixture method</dd>
<dd><code>body</code> - the <code>BlockStmt</code> for the fixture</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the fixture method as a <code>String</code></dd>
</dl>
</li>
</ul>
<a name="createTestSuite-java.lang.String-java.util.Set-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTestSuite</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;createTestSuite(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;suiteClassName,
                              <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;testClassNames)</pre>
<div class="block">Creates the JUnit4 suite class for the tests in this object as a <code>String</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>suiteClassName</code> - the name of the suite class created</dd>
<dd><code>testClassNames</code> - the names of the test classes in the suite</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the <code>String</code> with the declaration for the suite class</dd>
</dl>
</li>
</ul>
<a name="createTestDriver-java.lang.String-java.util.Set-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createTestDriver</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;createTestDriver(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;driverName,
                               <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;testClassNames)</pre>
<div class="block">Create non-reflective test driver as a main class.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>driverName</code> - the name for the driver class</dd>
<dd><code>testClassNames</code> - the names of the test classes in the suite</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the test driver class as a <code>String</code></dd>
</dl>
</li>
</ul>
<a name="parseFixture-java.util.List-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>parseFixture</h4>
<pre>public static&nbsp;com.github.javaparser.ast.stmt.BlockStmt&nbsp;parseFixture(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;bodyText)
                                                             throws com.github.javaparser.ParseException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>com.github.javaparser.ParseException</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../randoop/output/JavaFileWriter.html" title="class in randoop.output"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../randoop/output/MethodTypeNameSimplifyVisitor.html" title="class in randoop.output"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?randoop/output/JUnitCreator.html" target="_top">Frames</a></li>
<li><a href="JUnitCreator.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
